<div class="content-box"><!-- Start Content Box -->
	<div class="content-box-header">
		<h3>Nhập điểm điều kiện</h3>
	</div>
<!--------------------------------------------------------Content------------------------------------------->    	
	<div class="content-box-content" >
        <form action="" method="POST" id="formnoidung" name="dulieu">
        <table>
            <tr>
                <td colspan="9">
                    <input type="submit" class="button" value="Lưu" name="Luu"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <b>Môn học: <font color=green>{$monhoc.ten_mh}</font></b>
                                    <input type="hidden" value="{$monhoc.madm_mh}" name="monhoc"/>
                                    &nbsp;&nbsp;&nbsp;
                    <b>Ngành: <font color=green>{$nganh_lopmon}</b></font>&nbsp;&nbsp;&nbsp;
                </td>
            </tr>
            <tr>
                <td class="td-40 cangiua"><b>STT</b></td>
                <td class="td-70"><b>Mã sinh viên</b></td>
                <td class="td-70"><b>Họ tên</b></td>
                <td class="td-70"><b>Ngày sinh</b></td>
                <td class="td-70"><b>Tên lớp</b></td>
                <td class="td-70 cangiua"><b>Điểm CC</b></td>
                <td class="td-70 cangiua"><b>Điểm ĐK</b></td>
				<td></td>
            </tr>
            {$i=1}
            {foreach from=$dssv item=sv}
                <tr>
                    <td>{$i}
                        <input type="hidden" name="ma_ctdt{$i}" value="{$sv.ma_ctdt}"/>
                        <input type="hidden" name="ma_dkm{$i}" value="{$sv.ma_dkm}"/>
                    </td>
                    <td class="td-100">{$sv.ma_sv}</td>
                    <td class="td-150">{$sv.hoten_sv}</td>
                    <td class="td-80">{$sv.ngaysinh_sv}</td>
                    <td class="td-120">{$sv.ten_lop}</td>
                    <td class="td-70">
						<input type="text" class="small-input" name="diem1{$i}" id="diem1{$i}" onBlur="ktdiem(this.value, {$i}, 1)" value="{$arr_kqqt_cc[$sv.ma_dkm]}"/>
						<input type="hidden" id="dieman1{$i}" value="{$arr_kqqt_cc[$sv.ma_dkm]}" />
						<label id="diemcu1{$i}"></label>
					</td>
                    <td class="td-70">
						<input type="text" class="small-input" name="diem2{$i}" id="diem2{$i}" onBlur="ktdiem(this.value, {$i}, 2)" value="{$arr_kqqt_dk[$sv.ma_dkm]}"/>
						<input type="hidden" id="dieman2{$i}" value="{$arr_kqqt_dk[$sv.ma_dkm]}" />
						<label id="diemcu2{$i}"></label>
					</td>
					<td><label id="loi{$i}"></label></td>
                    {$i=$i+1}
                </tr>
            {/foreach}
            <tr>
                <td><input type="hidden" value="{$i}" name="somax"/></td>
            </tr>
        </table>         
        
    </div> <!-- End .content-box-content -->
</div>